package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2024/4/10 13:24
 */
@Getter
@Setter
@Table(name = "t_assembly_mounting_distance")
@TableName(value = "t_assembly_mounting_distance")
public class AssemblyMountingDistanceEntity{

    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 总成主键id
     */
    @Column(name = "assembly_tool_type_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField(value = "assembly_tool_type_id")
    private Integer assemblyToolTypeId;

    /**
     * 零件主键id
     */
    @Column(name = "tool_fork_info_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField(value = "tool_fork_info_id")
    private Integer toolForkInfoId;

    /**
     * 装配间距
     */
    @Column(name = "mounting_distance",type = MySqlTypeConstant.DOUBLE,length = 14)
    @TableField(value = "mounting_distance")
    private Double mountingDistance;
}
